| 1. | The flags such as carry flag, overflow flag and zero flag.
|
| 2. | The valid 9-bit result is the concatenation of the carry flag with the result.
|
| 3. | This is indicated by the CPU setting the half-carry flag.
|
| 4. | CHIP-8 has 16 8-bit data carry flag.
|
| 5. | However, spectators could carry flags with them.
|
| 6. | If some error has happened, the routine returns with CF ( Carry Flag ) set to 1.
|
| 7. | For example, jz uses the zero flag, jc uses the carry flag and jo uses the overflow flag.
|
| 8. | The auxiliary or half carry flag is set if a carry-over from bit 3 to bit 4 occurred.
|
| 9. | When used in this way the carry flag provides a mechanism for comparing the values as unsigned integers.
|
| 10. | The carry flag is clear in my load _ mem subroutine indicating that it believes the load was good.
|